<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: C:/Dvlp/_Perso/QxOrm/include/QxTraits/get_sql_type.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('get__sql__type_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">get_sql_type.h</div>  </div>
</div>
<div class="contents">
<a href="get__sql__type_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">**</span>
<a name="l00003"></a>00003 <span class="comment">** http://www.qxorm.com/</span>
<a name="l00004"></a>00004 <span class="comment">** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** This file is part of the QxOrm library</span>
<a name="l00007"></a>00007 <span class="comment">**</span>
<a name="l00008"></a>00008 <span class="comment">** This software is provided &#39;as-is&#39;, without any express or implied</span>
<a name="l00009"></a>00009 <span class="comment">** warranty. In no event will the authors be held liable for any</span>
<a name="l00010"></a>00010 <span class="comment">** damages arising from the use of this software</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** Commercial Usage</span>
<a name="l00013"></a>00013 <span class="comment">** Licensees holding valid commercial QxOrm licenses may use this file in</span>
<a name="l00014"></a>00014 <span class="comment">** accordance with the commercial license agreement provided with the</span>
<a name="l00015"></a>00015 <span class="comment">** Software or, alternatively, in accordance with the terms contained in</span>
<a name="l00016"></a>00016 <span class="comment">** a written agreement between you and Lionel Marty</span>
<a name="l00017"></a>00017 <span class="comment">**</span>
<a name="l00018"></a>00018 <span class="comment">** GNU General Public License Usage</span>
<a name="l00019"></a>00019 <span class="comment">** Alternatively, this file may be used under the terms of the GNU</span>
<a name="l00020"></a>00020 <span class="comment">** General Public License version 3.0 as published by the Free Software</span>
<a name="l00021"></a>00021 <span class="comment">** Foundation and appearing in the file &#39;license.gpl3.txt&#39; included in the</span>
<a name="l00022"></a>00022 <span class="comment">** packaging of this file. Please review the following information to</span>
<a name="l00023"></a>00023 <span class="comment">** ensure the GNU General Public License version 3.0 requirements will be</span>
<a name="l00024"></a>00024 <span class="comment">** met : http://www.gnu.org/copyleft/gpl.html</span>
<a name="l00025"></a>00025 <span class="comment">**</span>
<a name="l00026"></a>00026 <span class="comment">** If you are unsure which license is appropriate for your use, or</span>
<a name="l00027"></a>00027 <span class="comment">** if you have questions regarding the use of this file, please contact :</span>
<a name="l00028"></a>00028 <span class="comment">** contact@qxorm.com</span>
<a name="l00029"></a>00029 <span class="comment">**</span>
<a name="l00030"></a>00030 <span class="comment">****************************************************************************/</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _QX_GET_SQL_TYPE_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define _QX_GET_SQL_TYPE_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#pragma once</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00046"></a>00046 <span class="preprocessor">#include &lt;boost/mpl/if.hpp&gt;</span>
<a name="l00047"></a>00047 <span class="preprocessor">#include &lt;boost/mpl/logical.hpp&gt;</span>
<a name="l00048"></a>00048 <span class="preprocessor">#include &lt;boost/scoped_ptr.hpp&gt;</span>
<a name="l00049"></a>00049 <span class="preprocessor">#include &lt;boost/shared_ptr.hpp&gt;</span>
<a name="l00050"></a>00050 <span class="preprocessor">#include &lt;boost/intrusive_ptr.hpp&gt;</span>
<a name="l00051"></a>00051 <span class="preprocessor">#include &lt;boost/optional.hpp&gt;</span>
<a name="l00052"></a>00052 <span class="preprocessor">#include &lt;boost/type_traits/is_enum.hpp&gt;</span>
<a name="l00053"></a>00053 <span class="preprocessor">#include &lt;boost/type_traits/is_same.hpp&gt;</span>
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 <span class="preprocessor">#include &lt;QtCore/qsharedpointer.h&gt;</span>
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="preprocessor">#if (QT_VERSION &gt;= 0x040600)</span>
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#include &lt;QtCore/qscopedpointer.h&gt;</span>
<a name="l00059"></a>00059 <span class="preprocessor">#endif // (QT_VERSION &gt;= 0x040600)</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00061"></a>00061 <span class="preprocessor">#ifdef _QX_CPP_11_SMART_PTR</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#ifndef BOOST_NO_CXX11_SMART_PTR</span>
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#include &lt;memory&gt;</span>
<a name="l00064"></a>00064 <span class="preprocessor">#endif // BOOST_NO_CXX11_SMART_PTR</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#endif // _QX_CPP_11_SMART_PTR</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a>00067 <span class="preprocessor">#ifdef _QX_CPP_11_TUPLE</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#ifndef BOOST_NO_CXX11_HDR_TUPLE</span>
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#include &lt;tuple&gt;</span>
<a name="l00070"></a>00070 <span class="preprocessor">#endif // BOOST_NO_CXX11_HDR_TUPLE</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#endif // _QX_CPP_11_TUPLE</span>
<a name="l00072"></a>00072 <span class="preprocessor"></span>
<a name="l00073"></a>00073 <span class="preprocessor">#include &lt;<a class="code" href="is__qx__registered_8h.html" title="qx::trait::is_qx_registered&lt;T&gt;::value : return true if T is registered into QxOrm context to provide ...">QxTraits/is_qx_registered.h</a>&gt;</span>
<a name="l00074"></a>00074 <span class="preprocessor">#include &lt;<a class="code" href="get__primary__key_8h.html" title="qx::trait::get_primary_key&lt;T&gt;::type : return primary key type of T, by default primary key is long ty...">QxTraits/get_primary_key.h</a>&gt;</span>
<a name="l00075"></a>00075 <span class="preprocessor">#include &lt;<a class="code" href="remove__attr_8h.html" title="qx::trait::remove_attr&lt;T&gt;::type : return a type without pointer, const, reference and/or volatile att...">QxTraits/remove_attr.h</a>&gt;</span>
<a name="l00076"></a>00076 <span class="preprocessor">#include &lt;<a class="code" href="get__class__name__primitive_8h.html" title="Register all primitive and useful types of stl, boost and Qt libraries using QX_REGISTER_CLASS_NAME(T...">QxTraits/get_class_name_primitive.h</a>&gt;</span>
<a name="l00077"></a>00077 
<a name="l00078"></a>00078 <span class="preprocessor">#include &lt;<a class="code" href="_qx_dao_pointer_8h.html" title="qx::dao::ptr&lt;T&gt; : provide a classic smart-pointer (like boost::shared_ptr&lt;T&gt; or QSharedPointer&lt;T&gt;) wi...">QxDao/QxDaoPointer.h</a>&gt;</span>
<a name="l00079"></a>00079 <span class="preprocessor">#include &lt;<a class="code" href="_qx_date_neutral_8h.html" title="Helper class to store a date value into database under neutral format (YYYYMMDD) =&gt; cross database co...">QxDao/QxDateNeutral.h</a>&gt;</span>
<a name="l00080"></a>00080 <span class="preprocessor">#include &lt;<a class="code" href="_qx_time_neutral_8h.html" title="Helper class to store a time value into database under neutral format (HHMMSS) =&gt; cross database comp...">QxDao/QxTimeNeutral.h</a>&gt;</span>
<a name="l00081"></a>00081 <span class="preprocessor">#include &lt;<a class="code" href="_qx_date_time_neutral_8h.html" title="Helper class to store a date-time value into database under neutral format (YYYYMMDDHHMMSS) =&gt; cross ...">QxDao/QxDateTimeNeutral.h</a>&gt;</span>
<a name="l00082"></a>00082 
<a name="l00083"></a>00083 <span class="preprocessor">#include &lt;<a class="code" href="_qx_bool_8h.html" title="qx_bool : QxOrm library boolean type with code and description message when an error occured...">QxCommon/QxBool.h</a>&gt;</span>
<a name="l00084"></a>00084 
<a name="l00085"></a>00085 <span class="keyword">namespace </span>qx {
<a name="l00086"></a>00086 <span class="keyword">namespace </span>trait {
<a name="l00087"></a>00087 <span class="keyword">namespace </span>detail {
<a name="l00088"></a>00088 
<a name="l00089"></a>00089 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00090"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html">00090</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html">get_sql_type_helper</a>
<a name="l00091"></a>00091 {
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 <span class="keyword">private</span>:
<a name="l00094"></a>00094 
<a name="l00095"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a88da27e269328d28a05f0e232159739f">00095</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1remove__attr.html#ab51ee0bccf6af3a9d34e467867d8354a">qx::trait::remove_attr&lt;T&gt;::type</a> <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a88da27e269328d28a05f0e232159739f">type_1</a>;
<a name="l00096"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a2d876d03b91add3e734bd675c5067764">00096</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> boost::mpl::if_c&lt; qx::trait::is_qx_registered&lt;type_1&gt;::value, <span class="keyword">typename</span> <a class="code" href="classqx_1_1trait_1_1get__primary__key.html#a11ae75af18e7cc688dd45e73c037dc39">qx::trait::get_primary_key&lt;type_1&gt;::type</a>, <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a88da27e269328d28a05f0e232159739f">type_1</a> &gt;<a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a04bcaa6448f0b461b7cfc0258e16b9b5">::type</a> <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a2d876d03b91add3e734bd675c5067764">type_2</a>;
<a name="l00097"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#ae152eba35dd2c3caff1e31f45385c338">00097</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> boost::mpl::if_c&lt; boost::is_enum&lt;type_2&gt;::value, long, <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a2d876d03b91add3e734bd675c5067764">type_2</a> &gt;<a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a04bcaa6448f0b461b7cfc0258e16b9b5">::type</a> <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#ae152eba35dd2c3caff1e31f45385c338">type_3</a>;
<a name="l00098"></a>00098 
<a name="l00099"></a>00099 <span class="keyword">public</span>:
<a name="l00100"></a>00100 
<a name="l00101"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a04bcaa6448f0b461b7cfc0258e16b9b5">00101</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#ae152eba35dd2c3caff1e31f45385c338">qx::trait::detail::get_sql_type_helper&lt;T&gt;::type_3</a> <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a04bcaa6448f0b461b7cfc0258e16b9b5">type</a>;
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 };
<a name="l00104"></a>00104 
<a name="l00105"></a>00105 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00106"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type.html">00106</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type.html">get_sql_type</a>
<a name="l00107"></a><a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type.html#a03dcc9c29f0e7d7b532e29d996e968bb">00107</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;&quot;</span>; } };
<a name="l00108"></a>00108 
<a name="l00109"></a>00109 <span class="comment">/* Implemented into &#39;./src/QxRegister/QxClassX.cpp&#39; file */</span>
<a name="l00110"></a>00110 <a class="code" href="_qx_macro_8h.html#aa569abe24f343fdc4ad5e12e156ba8a2">QX_DLL_EXPORT</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespaceqx_1_1trait_1_1detail.html#ab3b1fd856906094019d1d13a7a8066c9">get_sql_type_by_class_name</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * sClassName, <span class="keyword">const</span> <span class="keywordtype">char</span> * sDefaultValue);
<a name="l00111"></a>00111 
<a name="l00112"></a>00112 } <span class="comment">// namespace detail</span>
<a name="l00113"></a>00113 
<a name="l00118"></a>00118 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00119"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type.html">00119</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>
<a name="l00120"></a>00120 {
<a name="l00121"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type.html#acad0d17aa6d45ce5483481ae1d992810">00121</a>    <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type__helper.html#a04bcaa6448f0b461b7cfc0258e16b9b5">qx::trait::detail::get_sql_type_helper&lt;T&gt;::type</a> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#acad0d17aa6d45ce5483481ae1d992810">type_sql</a>;
<a name="l00122"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">00122</a>    <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> (boost::is_same&lt;T, type_sql&gt;::value ? <a class="code" href="structqx_1_1trait_1_1detail_1_1get__sql__type.html">qx::trait::detail::get_sql_type&lt;type_sql&gt;::get</a>() : <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;type_sql&gt;::get</a>()); }
<a name="l00123"></a>00123 };
<a name="l00124"></a>00124 
<a name="l00125"></a>00125 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00126"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1optional_3_01_t_01_4_01_4.html">00126</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::optional&lt;T&gt; &gt;
<a name="l00127"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1optional_3_01_t_01_4_01_4.html#ac2801f575ca8165ff470719bde99f895">00127</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00128"></a>00128 
<a name="l00129"></a>00129 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00130"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1scoped__ptr_3_01_t_01_4_01_4.html">00130</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::scoped_ptr&lt;T&gt; &gt;
<a name="l00131"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1scoped__ptr_3_01_t_01_4_01_4.html#a2445bf27f68bde63dbb6067be1488ae1">00131</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00132"></a>00132 
<a name="l00133"></a>00133 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00134"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1shared__ptr_3_01_t_01_4_01_4.html">00134</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::shared_ptr&lt;T&gt; &gt;
<a name="l00135"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1shared__ptr_3_01_t_01_4_01_4.html#a1cb1e61cbfadba087854c0030140956a">00135</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00136"></a>00136 
<a name="l00137"></a>00137 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00138"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1intrusive__ptr_3_01_t_01_4_01_4.html">00138</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::intrusive_ptr&lt;T&gt; &gt;
<a name="l00139"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1intrusive__ptr_3_01_t_01_4_01_4.html#aa03f8d5395c01253f59e6cc2d6351524">00139</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00140"></a>00140 
<a name="l00141"></a>00141 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00142"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01_q_shared_pointer_3_01_t_01_4_01_4.html">00142</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; QSharedPointer&lt;T&gt; &gt;
<a name="l00143"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01_q_shared_pointer_3_01_t_01_4_01_4.html#abee196ae59a67d64d0e8bc97e292c9b2">00143</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00144"></a>00144 
<a name="l00145"></a>00145 <span class="preprocessor">#if (QT_VERSION &gt;= 0x040600)</span>
<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00147"></a>00147 <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; QScopedPointer&lt;T&gt; &gt;
<a name="l00148"></a>00148 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00149"></a>00149 <span class="preprocessor">#endif // (QT_VERSION &gt;= 0x040600)</span>
<a name="l00150"></a>00150 <span class="preprocessor"></span>
<a name="l00151"></a>00151 <span class="preprocessor">#ifdef _QX_CPP_11_SMART_PTR</span>
<a name="l00152"></a>00152 <span class="preprocessor"></span><span class="preprocessor">#ifndef BOOST_NO_CXX11_SMART_PTR</span>
<a name="l00153"></a>00153 <span class="preprocessor"></span>
<a name="l00154"></a>00154 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00155"></a>00155 <span class="keyword">struct </span>get_sql_type&lt; std::unique_ptr&lt;T&gt; &gt;
<a name="l00156"></a>00156 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00157"></a>00157 
<a name="l00158"></a>00158 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00159"></a>00159 <span class="keyword">struct </span>get_sql_type&lt; std::shared_ptr&lt;T&gt; &gt;
<a name="l00160"></a>00160 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00161"></a>00161 
<a name="l00162"></a>00162 <span class="preprocessor">#endif // BOOST_NO_CXX11_SMART_PTR</span>
<a name="l00163"></a>00163 <span class="preprocessor"></span><span class="preprocessor">#endif // _QX_CPP_11_SMART_PTR</span>
<a name="l00164"></a>00164 <span class="preprocessor"></span>
<a name="l00165"></a>00165 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;
<a name="l00166"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01qx_1_1dao_1_1ptr_3_01_t_01_4_01_4.html">00166</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; qx::dao::ptr&lt;T&gt; &gt;
<a name="l00167"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01qx_1_1dao_1_1ptr_3_01_t_01_4_01_4.html#a1e2c3f96dadf869470a570404622cc6f">00167</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keywordflow">return</span> <a class="code" href="structqx_1_1trait_1_1get__sql__type.html#ae430309480d69d49e161482cdc8b1ec3">qx::trait::get_sql_type&lt;T&gt;::get</a>(); } };
<a name="l00168"></a>00168 
<a name="l00169"></a>00169 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;
<a name="l00170"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01std_1_1pair_3_01_t1_00_01_t2_01_4_01_4.html">00170</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; std::pair&lt;T1, T2&gt; &gt;
<a name="l00171"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01std_1_1pair_3_01_t1_00_01_t2_01_4_01_4.html#a504208cd4d806f938de66f0aea9c87ee">00171</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00172"></a>00172 
<a name="l00173"></a>00173 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;
<a name="l00174"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01_q_pair_3_01_t1_00_01_t2_01_4_01_4.html">00174</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; QPair&lt;T1, T2&gt; &gt;
<a name="l00175"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01_q_pair_3_01_t1_00_01_t2_01_4_01_4.html#a6611cd5bf1ba07c6c6fbb30baeacb259">00175</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00176"></a>00176 
<a name="l00177"></a>00177 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;
<a name="l00178"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_01_4_01_4.html">00178</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2&gt; &gt;
<a name="l00179"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_01_4_01_4.html#a355bb93e22b6c102607225afde9106ae">00179</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00180"></a>00180 
<a name="l00181"></a>00181 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3&gt;
<a name="l00182"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_01_4_01_4.html">00182</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3&gt; &gt;
<a name="l00183"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_01_4_01_4.html#a39b486d93edb3ea9931808590e9c6ecf">00183</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00184"></a>00184 
<a name="l00185"></a>00185 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4&gt;
<a name="l00186"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_01_4_01_4.html">00186</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3, T4&gt; &gt;
<a name="l00187"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_01_4_01_4.html#a943c4b6d6e3d65a2c747a7e4b016e87f">00187</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00188"></a>00188 
<a name="l00189"></a>00189 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5&gt;
<a name="l00190"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_t5_01_4_01_4.html">00190</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3, T4, T5&gt; &gt;
<a name="l00191"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_t5_01_4_01_4.html#a1fc4cb898557f095865859a40316c613">00191</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6&gt;
<a name="l00194"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_t5_00_01_t6_01_4_01_4.html">00194</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3, T4, T5, T6&gt; &gt;
<a name="l00195"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_t5_00_01_t6_01_4_01_4.html#a94d0bc672b1f76cbf474711dabb4158d">00195</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00196"></a>00196 
<a name="l00197"></a>00197 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6, <span class="keyword">typename</span> T7&gt;
<a name="l00198"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_t5_00_01_t6_00_01_t7_01_4_01_4.html">00198</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3, T4, T5, T6, T7&gt; &gt;
<a name="l00199"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_t5_00_01_t6_00_01_t7_01_4_01_4.html#a424c460c86a485bf1cf5cc0bc13dda4a">00199</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T7&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00200"></a>00200 
<a name="l00201"></a>00201 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6, <span class="keyword">typename</span> T7, <span class="keyword">typename</span> T8&gt;
<a name="l00202"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_7aa6b8576f69e7ff5903c6ac8473130a.html">00202</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3, T4, T5, T6, T7, T8&gt; &gt;
<a name="l00203"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_7aa6b8576f69e7ff5903c6ac8473130a.html#a2fe816f596f1ac263e4bf3f47bb4596c">00203</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T7&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T8&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00204"></a>00204 
<a name="l00205"></a>00205 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6, <span class="keyword">typename</span> T7, <span class="keyword">typename</span> T8, <span class="keyword">typename</span> T9&gt;
<a name="l00206"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_af3507f22302466a1492c46749f53bff.html">00206</a> <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; boost::tuple&lt;T1, T2, T3, T4, T5, T6, T7, T8, T9&gt; &gt;
<a name="l00207"></a><a class="code" href="structqx_1_1trait_1_1get__sql__type_3_01boost_1_1tuple_3_01_t1_00_01_t2_00_01_t3_00_01_t4_00_01_af3507f22302466a1492c46749f53bff.html#a97bb5bd0b837f272c06d705fa78cd317">00207</a> { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T7&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T8&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T9&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00208"></a>00208 
<a name="l00209"></a>00209 <span class="preprocessor">#ifdef _QX_CPP_11_TUPLE</span>
<a name="l00210"></a>00210 <span class="preprocessor"></span><span class="preprocessor">#ifndef BOOST_NO_CXX11_HDR_TUPLE</span>
<a name="l00211"></a>00211 <span class="preprocessor"></span>
<a name="l00212"></a>00212 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;
<a name="l00213"></a>00213 <span class="keyword">struct </span><a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">get_sql_type</a>&lt; std::tuple&lt;T1, T2&gt; &gt;
<a name="l00214"></a>00214 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00215"></a>00215 
<a name="l00216"></a>00216 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3&gt;
<a name="l00217"></a>00217 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3&gt; &gt;
<a name="l00218"></a>00218 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00219"></a>00219 
<a name="l00220"></a>00220 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4&gt;
<a name="l00221"></a>00221 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3, T4&gt; &gt;
<a name="l00222"></a>00222 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00223"></a>00223 
<a name="l00224"></a>00224 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5&gt;
<a name="l00225"></a>00225 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3, T4, T5&gt; &gt;
<a name="l00226"></a>00226 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6&gt;
<a name="l00229"></a>00229 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3, T4, T5, T6&gt; &gt;
<a name="l00230"></a>00230 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00231"></a>00231 
<a name="l00232"></a>00232 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6, <span class="keyword">typename</span> T7&gt;
<a name="l00233"></a>00233 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3, T4, T5, T6, T7&gt; &gt;
<a name="l00234"></a>00234 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T7&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00235"></a>00235 
<a name="l00236"></a>00236 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6, <span class="keyword">typename</span> T7, <span class="keyword">typename</span> T8&gt;
<a name="l00237"></a>00237 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3, T4, T5, T6, T7, T8&gt; &gt;
<a name="l00238"></a>00238 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T7&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T8&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00239"></a>00239 
<a name="l00240"></a>00240 <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4, <span class="keyword">typename</span> T5, <span class="keyword">typename</span> T6, <span class="keyword">typename</span> T7, <span class="keyword">typename</span> T8, <span class="keyword">typename</span> T9&gt;
<a name="l00241"></a>00241 <span class="keyword">struct </span>get_sql_type&lt; std::tuple&lt;T1, T2, T3, T4, T5, T6, T7, T8, T9&gt; &gt;
<a name="l00242"></a>00242 { <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">get</span>() { <span class="keyword">static</span> std::string s; s = (std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T1&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T2&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T3&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T4&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T5&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T6&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T7&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T8&gt;::get</a>()) + <span class="stringliteral">&quot;|&quot;</span> + std::string(<a class="code" href="structqx_1_1trait_1_1get__sql__type.html" title="qx::trait::get_sql_type&lt;T&gt;::get() : return type name under const char * format used by database engin...">qx::trait::get_sql_type&lt;T9&gt;::get</a>())); <span class="keywordflow">return</span> s.c_str(); } };
<a name="l00243"></a>00243 
<a name="l00244"></a>00244 <span class="preprocessor">#endif // BOOST_NO_CXX11_HDR_TUPLE</span>
<a name="l00245"></a>00245 <span class="preprocessor"></span><span class="preprocessor">#endif // _QX_CPP_11_TUPLE</span>
<a name="l00246"></a>00246 <span class="preprocessor"></span>
<a name="l00247"></a>00247 } <span class="comment">// namespace trait</span>
<a name="l00248"></a>00248 } <span class="comment">// namespace qx</span>
<a name="l00249"></a>00249 
<a name="l00250"></a><a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">00250</a> <span class="preprocessor">#define QX_REGISTER_TRAIT_GET_SQL_TYPE(className, sqlType) \</span>
<a name="l00251"></a>00251 <span class="preprocessor">namespace qx { namespace trait { namespace detail { \</span>
<a name="l00252"></a>00252 <span class="preprocessor">template &lt;&gt; \</span>
<a name="l00253"></a>00253 <span class="preprocessor">struct get_sql_type&lt; className &gt; \</span>
<a name="l00254"></a>00254 <span class="preprocessor">{ static inline const char * get() { return get_sql_type_by_class_name(#className, sqlType); } }; }}}</span>
<a name="l00255"></a>00255 <span class="preprocessor"></span>
<a name="l00256"></a>00256 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">bool</span>, <span class="stringliteral">&quot;SMALLINT&quot;</span>)
<a name="l00257"></a>00257 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<a class="code" href="classqx_1_1_qx_bool.html" title="qx_bool : boolean type with code and description message when an error occured">qx_bool</a>, &quot;TEXT&quot;)
<a name="l00258"></a>00258 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">char</span>, &quot;SMALLINT&quot;)
<a name="l00259"></a>00259 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">short</span>, &quot;SMALLINT&quot;)
<a name="l00260"></a>00260 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">int</span>, &quot;INTEGER&quot;)
<a name="l00261"></a>00261 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">long</span>, &quot;INTEGER&quot;)
<a name="l00262"></a>00262 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">long</span> <span class="keywordtype">long</span>, &quot;INTEGER&quot;)
<a name="l00263"></a>00263 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">float</span>, &quot;FLOAT&quot;)
<a name="l00264"></a>00264 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">double</span>, &quot;FLOAT&quot;)
<a name="l00265"></a>00265 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">long</span> <span class="keywordtype">double</span>, &quot;FLOAT&quot;)
<a name="l00266"></a>00266 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>, &quot;SMALLINT&quot;)
<a name="l00267"></a>00267 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>, &quot;INTEGER&quot;)
<a name="l00268"></a>00268 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span>, &quot;INTEGER&quot;)
<a name="l00269"></a>00269 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span>, &quot;INTEGER&quot;)
<a name="l00270"></a>00270 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(std::<span class="keywordtype">string</span>, &quot;TEXT&quot;)
<a name="l00271"></a>00271 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(std::wstring, &quot;TEXT&quot;)
<a name="l00272"></a>00272 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QString, &quot;TEXT&quot;)
<a name="l00273"></a>00273 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QVariant, &quot;TEXT&quot;)
<a name="l00274"></a>00274 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QUuid, &quot;TEXT&quot;)
<a name="l00275"></a>00275 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QDate, &quot;DATE&quot;)
<a name="l00276"></a>00276 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QTime, &quot;TIME&quot;)
<a name="l00277"></a>00277 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QDateTime, &quot;TIMESTAMP&quot;)
<a name="l00278"></a>00278 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(QByteArray, &quot;BLOB&quot;)
<a name="l00279"></a>00279 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(qx::QxDateNeutral, &quot;TEXT&quot;)
<a name="l00280"></a>00280 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(qx::QxTimeNeutral, &quot;TEXT&quot;)
<a name="l00281"></a>00281 <a class="code" href="get__sql__type_8h.html#ab7b8ff02a613551a50ab5038d8d429a4">QX_REGISTER_TRAIT_GET_SQL_TYPE</a>(qx::QxDateTimeNeutral, &quot;TEXT&quot;)
<a name="l00282"></a>00282 
<a name="l00283"></a>00283 <span class="preprocessor">#endif // _QX_GET_SQL_TYPE_H_</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="get__sql__type_8h.html">get_sql_type.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:06 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
